<template>
	<view class="container">
		<view class="reportView" @click="clickCityData">
			<view class="left">
				<image src="/static/images/dataCenter2.png"></image>
				<text>各市参与率</text>
			</view>
			<view class="right">
				<text>查看报表 ></text>
			</view>
		</view>
		<view class="reportView">
			<view class="left">
				<image src="/static/images/dataCenter2.png"></image>
				<text>各市合格率</text>
			</view>
			<view class="right">
				<text>查看报表 ></text>
			</view>
		</view>
	</view>
</template>
<script>
	export default{
		data(){
			return{
				activityId:null,
			}
		},
		onLoad(e) {
			this.activityId=e.activityId
		},
		methods:{
			clickCityData(){
				this.$tab.navigateTo(`/pages/work/datacenter/allCityData?activityId=` + this.activityId)
			}
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #fff;
	}
	.container{
		.reportView{
			width: calc(100% - 80rpx);
			margin: 30rpx 40rpx;
			border-bottom: 1px solid #EBE4E4;;
			color: #508CFF;
			display: flex;
			align-items: center;
			justify-content: space-between;
			line-height: 80rpx;
			margin: 30rpx auto;
			border-radius: 10rpx;
			.left{
				display: flex;
				align-items: center;
				image{
					width: 40rpx;
					height: 40rpx;
					margin: 0 20rpx;
				}
			}
			.right{
				color: #FF9A50;
				padding-right: 10px;
			}
			
		}
	}
</style>